package cn.e4j.modular.crm.service;

import cn.e4j.core.dto.impl.Dto;
import cn.e4j.modular.crm.entity.EsaaT;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuw
 * @since 2019-11-06
 */
public interface EsaaTService extends IService<EsaaT> {

    List<Map<String, Object>> getEsaalist(Page<Object> page, Dto inDto);

    boolean existedTheParams(EsaaT esaaT);

    void add(EsaaT esaaT);

    void edit(EsaaT esaaT);

    void delete(EsaaT esaaT);

    void deleteBatch(List<EsaaT> esaaTList);

    void changeStatusBatch(List<EsaaT> esaaTList);

    void transferBatch(List<EsaaT> esaaTList);
}
